package com.easy.frame.servers.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.frame.base.api.pojo.BasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 消息发送接口
 *
 * @author tp
 * @since 2021-01-04
 */
@Getter
@Setter
@ToString
@TableName("sys_setting")
@ApiModel("消息发送接口")
public class SysSetting extends BasePO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("租户ID")
    private Long tenantId;

    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("设置code")
    private String code;

    @ApiModelProperty("type类型 [手机类型、pc类型等，相当于打包分类]")
    private String type;

    @ApiModelProperty("设置名称")
    private String name;

    @ApiModelProperty("设置值")
    private String value;

    @ApiModelProperty("启用状态 [0禁用 1启用]")
    private Integer enabled;

}
